//storkeTower.h

#ifndef STORKE_TOWER_H
#define STORKE_TOWER_H
//class enemy;
#include "enemy.h"
#include "enemyd1.h"
#include "enemyd2.h"
#include "enemyd3.h"
#include "enemyd4.h"
#include "enemyd5.h"
#include "enemyd6.h"
#include "enemyd7.h"
#include "enemyd8.h"
#include "enemyd9.h"
#include "enemyd10.h"



class storkeTower
{
 private:
  pair loc; //Stores the x,y location of an object
  int lives; //Stores the number of lives the object has. When this number becomes zero, the user has lost and the game ends.
  
public:
  //Object's default constructor. Initializes all of the object's private variables.
  storkeTower();

  //This function checks to see if an enemy object is within range of this object. An object of the enemy class is sent in to the function and a boolean is returned. It returns true if the enemy object is within range, and false otherwise.
  bool check_range(enemy *badguy);

  //Setters and Getters

  //This function returns the x,y pair location of the object.
  pair getLoc();

  //This function takes an x,y pair and changes the object's x,y location to the x,y pair that was passed in.
  void setLoc(pair p);

  //This function returns the number of lives the object has.
  int getLives();

  //This function takes an integer and changes the object's lives variable to the integer that was passed in.
  void setLives(int life);

  void decrementLives();

  //This is the object's destructor.
  ~storkeTower();
};
#endif
